<?php

namespace app\api\controller;

use app\common\controller\Api;

/**
 * 轮播图
 */
class Navigator extends Common
{
    protected $noNeedLogin = ['*'];
    protected $noNeedRiaght = '*';
    protected $navigatorModel = null;

    public function _initialize()
    {
        parent::_initialize();
        $this->navigatorModel = new \app\admin\model\Navigator();
    }
    /**
     *轮播图
     *
     */
    public function getnavigatorList()
    {
        $navigator = $this->navigatorModel
            ->select();
        $this->outputData($navigator);
    }
}